/**
 * @ author: 汪孟苹
 */
define([],function(){
	var tpl = {};

	tpl.updateBespeak = function(){
		var html = '';
		html += updateBespeak();
		return html;
	}
	tpl.addBespeak = function(){
		var html = '';
		html += addBespeak();
		return html;
	}
	
	var updateBespeak = function(){
		return 	'<script id="tpl_updateBespeak" type="text/html">'+
				'	<div class="lostfollowupreason-group">'+
				'	<div>'+
				'	  		<div class="form-group">'+
				'			    <label for="persenName" class="control-label notNull">听课人姓名</label>'+
				'			    <div class="control-input">'+
				'			      	<input id="persenName" value="{{persenName}}" type="text" class="form-control" placeholder="">'+
				'			    </div>'+
				'			</div>'+
				'			<div class="form-group">'+
				'			    <label for="joinNumber" class="control-label notNull">参加人数</label>'+
				'			    <div class="control-input">'+
				'			      	<input id="joinNumber" value="{{joinNumber}}" type="text" class="form-control" placeholder="">'+
				'			    </div>'+
				'			</div>'+
				'			<div class="form-group">'+
				'			    <label for="phoneNo" class="control-label notNull">手机号</label>'+
				'			    <div class="control-input">'+
				'			      	<input id="phoneNo" value="{{phoneNo}}" type="text" class="form-control" placeholder="">'+
				'			    </div>'+
				'			</div>'+
				'			<div class="form-group">'+
				'			    <button type="button" class="btn btn-info center-block" id="updateBespeak">修改预约</button>'+
				'			</div>'+
				'	  	</div>'+
				'	</div>'+
				'</script>';
	}
	var addBespeak = function(){
		return 	'<script id="tpl_addBespeak" type="text/html">'+
				'	<div class="lostfollowupreason-group">'+
				'<div>'+
				'			<div class="form-group">'+
				'			    <label for="phoneNo" class="control-label notNull">手机号</label>'+
				'			    <div class="control-input">'+
				'			      	<input id="phoneNo" maxlength="11" type="text" class="form-control" placeholder="">'+
				'			    </div>'+
				'			</div>'+
				'	  		<div class="form-group">'+
				'			    <label for="userList" class="control-label notNull">选择用户</label>'+
				'			    <div class="control-input">'+
				'			      	<select class="form-control" id="userList"></select>'+
				'			    </div>'+
				'			</div>'+
				'	  		<div class="form-group">'+
				'			    <label for="userList" class="control-label notNull">选择课程</label>'+
				'			    <div class="control-input">'+
				'			      	<select class="form-control" id="cList"></select>'+
				'			    </div>'+
				'			</div>'+
				'	  		<div class="form-group">'+
				'			    <label for="persenName" class="control-label notNull">听课人</label>'+
				'			    <div class="control-input">'+
				'			      	<input id="persenName" type="text" class="form-control" placeholder="">'+
				'			    </div>'+
				'			</div>'+
				'			<div class="form-group">'+ 
				'			    <label for="joinNumber" class="control-label notNull">参加人数</label>'+
				'			    <div class="control-input">'+
				'			      	<input id="joinNumber" type="text" class="form-control" placeholder="">'+
				'			    </div>'+
				'			</div>'+
				'			<div class="form-group">'+
				'			    <button type="button" class="btn btn-info center-block" id="addBespeak">确认预约</button>'+
				'			</div>'+
				'	  	</div>'+
				'	</div>'+
				'</script>';
	}
	
	return tpl;
});